{extend name="common/base" /}
{block name="content"}
<!-- 表格渲染位置 -->
<table class="layui-hide" id="showDataTable" lay-filter="buttonClick"></table>

<!-- 工具栏 -->
<script type="text/html" id="toolBar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm layui-bg-black" lay-event="refresh"><i
                class="layui-icon layui-icon-refresh"></i></button>
        <button class="layui-btn layui-btn-sm layui-bg-simple-green" lay-event="add">添加管理员</button>
    </div>
</script>

<!-- 操作栏 -->
<script type="text/html" id="bar">
    <div class="layui-table-cell">
        {{# if(d.id != 1){ }}
        <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit" title="编辑权限">编辑</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete" title="删除该权限">删除</a>
        {{# } }}
    </div>
</script>
{/block}